<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登录</title>
<link rel="stylesheet" href="login.css">
<script src="zversion/resources/others/jquery/jquery.min.js"></script>
<script language="JavaScript"> 
function login(){
	$.ajax({ 
		url: "root.login.do?username="+$("#username").val()+"&password="+$("#password").val(),
		type : "POST",
		dataType:"json",
		data:{
			username:$("#username").val(),
			password:$("#password").val()
		},  
		success:function(data){
			if(data.status=='OK'){
				window.location.href = "zversion/pages/manager/exportpage.html";
			}else{
				alert(data.msg);
			}
		}
	})
}
	
</script>
</head>
<body>
	<div class="loginbody">
		<div class="logintop">
			<img src="logo.png" style="width: 98px; height: 79px;">
		</div>
		<div class="loginTitle" style="font-size: 30px; color: #fff;">藏品系统影像批量上传</div>
		<div class="logindown">
			<form action="" method="" id="loginForm" name="loginForm">
				<ul>
					<li id="loginMessage"></li>
					<li><input name="username" id="username" placeholder="用户名"
						type="text" class="loginuser" value="" /></li>
					<li style="margin-top: 18px;"><input name="password"
						placeholder="密码" id="password" type="password" class="loginpwd"
						value="" /></li>
					<li style="margin-top: 43px;"><input type="button"
						id="login_btn" class="loginbtn" value="登录" onclick="login()" /></li>
				</ul>
			</form>
		</div>
	</div>
</body>
</html>